//导入我们封装好的axios
import service from '../index'
//https://juejin.cn/post/6906439652048273422


//export const loginToServer= info => service.post('login', info);
export const registerToServer= info => service.post('register', info);
export const loginToServer= info => service.post('login', info);